﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblAdminService
	{
		private static readonly tblAdminDAL db = new tblAdminDAL();
		#region[tblAdmin_GetById]
		public static DataTable tblAdmin_GetById(tblAdminInfo Data)
		{
			return db.tblAdmin_GetById(Data);
		}
		#endregion
		#region[tblAdmin_GetByAll]
		public static DataTable tblAdmin_GetByAll()
		{
			return db.tblAdmin_GetByAll();
		}
		#endregion
		#region[tblAdmin_GetByTop]
		public static DataTable tblAdmin_GetByTop(string Top, string Where, string Order)
		{
			return db.tblAdmin_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblAdmin_Insert]
		public static void tblAdmin_Insert(tblAdminInfo Data)
		{
			 db.tblAdmin_Insert(Data);
		}
		#endregion
		#region[tblAdmin_Update]
		public static void tblAdmin_Update(tblAdminInfo Data)
		{
			 db.tblAdmin_Update(Data);
		}
		#endregion
		#region[tblAdmin_Delete]
		public static void tblAdmin_Delete(string Data)
		{
			 db.tblAdmin_Delete(Data);
		}
		#endregion
	}
}